package com.ziyun.erp.modules.storeStockMaterialIo.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.storeStockMaterialIo.dao.StoreStockMaterialIoDao;
import com.ziyun.erp.modules.storeStockMaterialIo.entity.StoreStockMaterialIoEntity;
import com.ziyun.erp.modules.storeStockMaterialIo.service.StoreStockMaterialIoService;


@Service("storeStockMaterialIoService")
public class StoreStockMaterialIoServiceImpl extends ServiceImpl<StoreStockMaterialIoDao, StoreStockMaterialIoEntity> implements StoreStockMaterialIoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<StoreStockMaterialIoEntity> page = this.selectPage(
                new Query<StoreStockMaterialIoEntity>(params).getPage(),
                new EntityWrapper<StoreStockMaterialIoEntity>()
        );

        return new PageUtils(page);
    }

}
